﻿using System;
using System.Collections.Generic;
using System.Text;

namespace CitrixSystemVerifier
{
    class Message
    {
        public Message()
        {
            m_Type = null;
            m_Text = null;
        }

        public Message(string Text)
        {
            m_Type = null;
            m_Text = Text;
        }

        public Message(string Text, string Type)
        {
            m_Type = Type;
            m_Text = Text;
        }

        public bool IsValid ()
        {
            if (string.IsNullOrEmpty(m_Text))
                return false;
            return true;
        }

        private string m_Type;
        public string Type
        {
            get { return m_Type; }
            set { m_Type = value; }
        }

        private string m_Text;
        public string Text
        {
            get { return m_Text; }
            set { m_Text = value; }
        }
    }
}
